package com.mi.entity;

import java.io.Serializable;

//产品详情
public class ProductEntity implements Serializable {

    private int p_id;
    private String p_name;
    private String p_image;
    private String p_desc;
    private String p_trait;
    private int p_status;
    private int pc_id;
    private int p_check;
    private String pc_name;
    private int ppc_id;
    private ProductEntity productEntity;

    private int pageNum=1;
    private int pageSize=6;

    public int getPpc_id() {
        return ppc_id;
    }

    public void setPpc_id(int ppc_id) {
        this.ppc_id = ppc_id;
    }

    public String getPc_name() {
        return pc_name;
    }

    public void setPc_name(String pc_name) {
        this.pc_name = pc_name;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getP_id() {
        return p_id;
    }

    public void setP_id(int p_id) {
        this.p_id = p_id;
    }

    public String getP_name() {
        return p_name;
    }

    public void setP_name(String p_name) {
        this.p_name = p_name;
    }

    public String getP_image() {
        return p_image;
    }

    public void setP_image(String p_image) {
        this.p_image = p_image;
    }

    public String getP_desc() {
        return p_desc;
    }

    public void setP_desc(String p_desc) {
        this.p_desc = p_desc;
    }

    public String getP_trait() {
        return p_trait;
    }

    public void setP_trait(String p_trait) {
        this.p_trait = p_trait;
    }

    public int getP_status() {
        return p_status;
    }

    public void setP_status(int p_status) {
        this.p_status = p_status;
    }

    public int getPc_id() {
        return pc_id;
    }

    public void setPc_id(int pc_id) {
        this.pc_id = pc_id;
    }

    public ProductEntity getProductEntity() {
        return productEntity;
    }

    public void setProductEntity(ProductEntity productEntity) {
        this.productEntity = productEntity;
    }

    public int getP_check() {
        return p_check;
    }

    public void setP_check(int p_check) {
        this.p_check = p_check;
    }

    @Override
    public String toString() {
        return "ProductEntity{" +
                "p_id=" + p_id +
                ", p_name='" + p_name + '\'' +
                ", p_image='" + p_image + '\'' +
                ", p_desc='" + p_desc + '\'' +
                ", p_trait='" + p_trait + '\'' +
                ", p_status=" + p_status +
                ", pc_id=" + pc_id +
                ", pc_name='" + pc_name + '\'' +
                ", ppc_id=" + ppc_id +
                ", productEntity=" + productEntity +
                ", p_check=" + p_check +
                ", pageNum=" + pageNum +
                ", pageSize=" + pageSize +
                '}';
    }
}
